// pages/homepage/homepage.js
Page({
  data: {
    searchValue: '', // 绑定输入框的值
    iconList: [
      {iconType: "success"},{iconType: "success_no_circle"},{iconType: "info"},{iconType: "warn"},
      {iconType: "waiting"},{iconType: "cancel"},{iconType: "download"},{iconType: "search"},
      {iconType: "clear"}]
  },
  onInput: function(e) {
    this.setData({
      searchValue: e.detail.value
    });
  },
  onSearch: function() {
    console.log("搜索内容：", this.data.searchValue);
    // 这里可以进行搜索操作，例如发送请求到服务器获取数据
  }
})